package cn.changein.framework.kernel.model.exception;

import lombok.Data;

/**
 * <p>
 *     业务异常的封装
 * </p>
 *

 * @Date: 2020-10-27 11:37
 * @Copyright: companyName
 * @Version 1.0
 * @Since JDK1.8
 */
public class RequestEmptyException extends ServiceException {

    public RequestEmptyException() {
        super(400, "请求数据不完整或格式错误！");
    }

    public RequestEmptyException(String errorMessage) {
        super(400, errorMessage);
    }

    /**
     * 不拷贝栈信息，提高性能
     * @return
     */
    @Override
    public synchronized Throwable fillInStackTrace() {
        return null;
    }
}
